package com.globalwave.product.service;

import com.globalwave.common.ArrayOrderList;
import com.globalwave.common.ArrayPageList;
import com.globalwave.product.entity.Product;
import com.globalwave.product.entity.ProductCriterion;

public interface ProductService {
    
    public ArrayPageList<Product> query(
            ProductCriterion productCriterion, 
            int pageIndex, 
            int pageSize,
            ArrayOrderList orderList) 
    throws Exception ;
    
    public Product create(Product product) throws Exception ;
    public void update(Product product) throws Exception ;
    public void delete(Product product) throws Exception ;
    public void deleteAll(Long[] productIds) throws Exception ;
    
}
